package com.weixing.mall.provider.api.fallback;

import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.base.wrapper.ResultUtil;
import com.weixing.mall.provider.api.model.vo.dto.DepotRPcVo;
import com.weixing.mall.provider.api.service.DepotServiceRpc;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class DepotFallBack  implements DepotServiceRpc {

    @Override
    public Result<DepotRPcVo> getBycode(String code) {
        return ResultUtil.error();
    }

    @Override
    public Result<List<DepotRPcVo>> getDepotId(Long getDepotId) {
        return null;
    }

    @Override
    public Result delByCondition(Long depotId, Long productId, String depotSn) {
        return ResultUtil.error();
    }

    @Override
    public Result<DepotRPcVo> getById(Long id) {
        return ResultUtil.error();
    }
}
